<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title></title>
{include file="common/pub_style" /}
<style type="text/css">
.tips {color: #6046ff; font-weight: 600}
</style>
<script type="text/javascript">
	$(document).ready(function() {
		isformnull();
		$(".login-btn").click(function() {				   
				if (getformnull() ==0) {
				   $("#loadingToast").show();
				   $.ajax({
					   type : 'post',
					   url : "",
					   dataType : "json",
					   data : $("form").serialize(),
					   success : function(res) {
						   layer.msg(res.msg);	
						   if (res.code == 99) {
                                 gourl("{:url('index')}");
						   }
						   $("#loadingToast").hide();
					   }
				   });
				}
		})
	})
</script>
</head>
<body>
	<div class="header-wrap">
	   <div class="flex flex-between pd10">
	      <div class="left-arrow" onclick="javascript:window.history.go(-1);"></div>
	      <div class="">{$Think.lang.menu_wallet}</div>
	      <div class=""><a href="{:url('recode')}"></a></div>
	   </div>
	</div>
	<div style="height: 70px"></div>
	<div class=" pd20">	   
		<form id="login-form" class="form-horizontal" action="" method="post">
			<div class="form-row flex align-center">
				<div class="title label-md">{$Think.lang.wallet_type}:</div>
				<div class="input-box">
					<select name="type" id="walletType" class='form-control'>
						<option value="trc20" {eq name="info.type" value="trc20"}selected="selected"{/eq}>TRC20</option>
						<option value="erc20" {eq name="info.type" value="erc20"}selected="selected"{/eq}>ERC20</option>
					</select>
				</div>
			</div>
			<div class="form-row flex align-center">
				<div class="title label-md">{$Think.lang.address}:</div>
				<div class="input-box">
					<input type="text" id="address" name="address" value="" class='form-control' maxlength="50" placeholder="{$Think.lang.plac_wallet_address}" autocomplete="off">
				</div>
			</div>			
			<div class="form-row flex align-center">
				<div class="title label-md">key:</div>
				<div class="input-box">
					<input type="password" name="key" class="form-control password" placeholder="{$Think.lang.please_enter_key}" autocomplete="off">
				</div>
			</div>
			<div class="form-row">
				<button type="button" class="input-btn btnform btn-disabled login-btn undefined">
					<span class="btn-content">
						<span>{$Think.lang.btn_submit}</span>
					</span>
				</button>
			</div>
		</form>
	</div>
	{include file="common/footer" /}
</body>
</html>